<?php
declare (strict_types = 1);
namespace app\admin\controller;

use think\Request;
use think\facade\{View, Session};
use think\exception\ValidateException;

use app\admin\validate\UsersValidate;

use app\admin\model\{Users, UserShop, Admin, Star};

class FaceController extends BaseController
{
    private $userModel;
    private $token;
    public function __construct(Users $userModel)
    {
        $this->userModel = $userModel;
        $this->token = Session::get('token');
    }

    public function face()
    {
        View::assign('admin_id', $this->token['id']);
        return view();
    }
}
